﻿<!DOCTYPE html>
<html>
	<head>
		<title>Profoods</title>
		<link rel="icon" type="image/png" href="<?= base_url() ?>images/favicon.png">
		<link rel="stylesheet" href="<?= base_url() ?>styles/style.css" type="text/css" />
		<link rel="stylesheet" href="<?= base_url() ?>styles/buttons.css" type="text/css" />
		<link rel="stylesheet" href="<?= base_url() ?>styles/superfish.css" type="text/css" />
		<script type="text/javascript" src="<?= base_url() ?>scripts/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" src="<?= base_url() ?>scripts/jquery.superfish.min.js"></script>
		<script type="text/javascript" src="<?= base_url() ?>scripts/jquery.nyroModal.pack.js"></script>		
		<script type="text/javascript" src="<?= base_url() ?>scripts/jquery.dateformat.js"></script>		
		<script>
			var base_url = '<?= base_url() ?>';
		
		   $(document).ready(function(){ 
				$("ul.sf-menu").superfish(); 				
			}); 
		</script>
	</head>
	<body>
		<header>
			<div class="wrapper">
				<div class="logo">
					<img src="<?= base_url() ?>images/logo.png" />
				</div>
				<div class="account_settings">
					Logged in as <?= $this->session->userdata("first_name") . " " . $this->session->userdata("last_name")?>
				</div>				
				<? $this->load->view('nav_view.php'); ?>
			</div>
		</header>
		<div id="pagetitle">
			<div class="wrapper">
				<h1><?= implode(' → ', $title) ?></h1> 				
			</div>
		</div>
		<div id="page">
			<div class="wrapper">
				<?= $content ?>
			</div>
		</div>
	</body>
</html>